let json = {
    "records": [
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 31,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__金属"
                    ],
                    "properties": {
                        "ns1__用途": "纯铁用于制发电机和电动机的铁芯,还原铁粉用于粉末冶金,钢铁用于制造机器和工具。用作还原剂。用于铁盐制备。用作营养增补剂(铁质强化剂)。",
                        "ns1__化学式量": {
                            "low": 56,
                            "high": 0
                        },
                        "ns1__中文名": "铁",
                        "ns1__化学式": "Fe",
                        "ns1__密度": "7.87g/cm3",
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#Fe",
                        "ns1__外观和性状": "纯铁是带有银白色金属光泽的金属晶体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },





        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 65,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "于测定空气中的二氧化碳。叶绿素的定量。糖及动植物油的精制。锅炉用水清净剂。杀虫剂。橡胶工业。",
                        "ns1__化学式量": 171.35,
                        "ns1__中文名": "氢氧化钡",
                        "ns1__俗称": "无水氢氧化钡",
                        "ns1__化学式": "Ba(OH)₂",
                        "ns1__密度": "2.18g/cm3",
                        "ns1__水溶性": "可溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#BaOH2",
                        "ns1__外观和性状": "无色透明结晶或白色粉末"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },


        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 72,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "用于媒染剂、催化剂、杀菌剂和颜料，并用于染纸张等、用作分析试剂、媒染剂；制铜盐的原料、媒染剂、人造丝、颜料、制着色纸、用作杀菌剂、船底防污漆的组分。",
                        "ns1__化学式量": 97.5,
                        "ns1__中文名": "氢氧化铜",
                        "ns1__俗称": "蓝铜",
                        "ns1__化学式": "Cu(OH)2",
                        "ns1__密度": "3.37g/cm3",
                        "ns1__水溶性": "难溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CuOH2",
                        "ns1__外观和性状": "干燥的蓝色粉末或晶体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },



        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 29,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__用途": "用于陶瓷涂料和光学玻璃的辅料用于电子陶瓷、PTC热敏电阻、电容器等多种电子元器件的制造",
                        "ns1__化学式量": 197.34,
                        "ns1__中文名": "碳酸钡",
                        "ns1__化学式": "BaCO3",
                        "ns1__密度": 4.43,
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#BaCO3",
                        "ns1__外观和性状": "白色斜方结晶或粉末"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 49,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__金属"
                    ],
                    "properties": {
                        "ns1__用途": "医疗用途：治疗缺镁和痉挛",
                        "ns1__化学式量": 24.305,
                        "ns1__中文名": "镁",
                        "ns1__化学式": "Mg",
                        "ns1__密度": 1.74,
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#Mg",
                        "ns1__外观和性状": "银白色有金属光泽的粉末"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 72,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "用于媒染剂、催化剂、杀菌剂和颜料，并用于染纸张等、用作分析试剂、媒染剂；制铜盐的原料、媒染剂、人造丝、颜料、制着色纸、用作杀菌剂、船底防污漆的组分。",
                        "ns1__化学式量": 97.5,
                        "ns1__中文名": "氢氧化铜",
                        "ns1__俗称": "蓝铜",
                        "ns1__化学式": "Cu(OH)2",
                        "ns1__密度": "3.37g/cm3",
                        "ns1__水溶性": "难溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CuOH2",
                        "ns1__外观和性状": "干燥的蓝色粉末或晶体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 120,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "干燥、电镀、化工原料等",
                        "ns1__化学式量": 56.1,
                        "ns1__中文名": "氢氧化钾",
                        "ns1__俗称": "苛性钾、苛性碱、钾灰",
                        "ns1__化学式": "KOH",
                        "ns1__密度": "2.044g/cm3",
                        "ns1__水溶性": "易溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#KOH",
                        "ns1__外观和性状": "白色粉末或片状固体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 111,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__金属"
                    ],
                    "properties": {
                        "ns1__用途": "电池、汽车、电力、电子及建筑等",
                        "ns1__化学式量": 65.409,
                        "ns1__中文名": "锌",
                        "ns1__化学式": "Zn",
                        "ns1__密度": "7.14 g·cm−3",
                        "ns1__水溶性": "锌粒不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#Zn",
                        "ns1__外观和性状": "银白色略带淡蓝色金属"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 38,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__用途": "银盐原料、感光材料、防腐剂、催化剂，还用于镀银、制镜等行业",
                        "ns1__化学式量": 169.87,
                        "ns1__中文名": "硝酸银",
                        "ns1__化学式": "AgNO3",
                        "ns1__密度": "4.35g·cm-3",
                        "ns1__水溶性": "易溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#AgNO3",
                        "ns1__外观和性状": "无色透明晶体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 101,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__化学式量": 100.09,
                        "ns1__中文名": "碳酸钙",
                        "ns1__俗称": "水垢;石灰石;石灰石粉;酪酸钙",
                        "ns1__化学式": "CaCO₃",
                        "ns1__密度": "2.93 g/mL",
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CaCO3",
                        "ns1__外观和性状": "白色固体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 38,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__用途": "银盐原料、感光材料、防腐剂、催化剂，还用于镀银、制镜等行业",
                        "ns1__化学式量": 169.87,
                        "ns1__中文名": "硝酸银",
                        "ns1__化学式": "AgNO3",
                        "ns1__密度": "4.35g·cm-3",
                        "ns1__水溶性": "易溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#AgNO3",
                        "ns1__外观和性状": "无色透明晶体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 25,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__用途": "主要用于平板玻璃、玻璃制品和陶瓷釉的生产。还广泛用于生活洗涤、酸类中和以及食品加工等。",
                        "ns1__化学式量": 105.99,
                        "ns1__中文名": "碳酸钠",
                        "ns1__俗称": "苏打、纯碱、洗涤碱",
                        "ns1__化学式": "Na2CO3",
                        "ns1__密度": "2.532g/cm³",
                        "ns1__水溶性": "易溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#Na2CO3",
                        "ns1__外观和性状": "碳酸钠常温下为白色无气味的粉末或颗粒"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 102,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "净水剂和砷的解毒药等",
                        "ns1__化学式量": 106.867,
                        "ns1__中文名": "氢氧化铁",
                        "ns1__俗称": "铁酸",
                        "ns1__化学式": "Fe(OH)3",
                        "ns1__密度": "3.4g/cm³",
                        "ns1__水溶性": "难溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#FeOH3",
                        "ns1__外观和性状": "棕色或红褐色粉末或深棕色絮状沉淀"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 131,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__氧化物"
                    ],
                    "properties": {
                        "ns1__用途": "用作干电池去极剂，合成工业的催化剂和氧化剂，玻璃工业和搪瓷工业的着色剂、消色剂、脱铁剂等",
                        "ns1__化学式量": 86.94,
                        "ns1__中文名": "二氧化锰",
                        "ns1__化学式": "MnO2",
                        "ns1__密度": "不易溶于水",
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#MnO2",
                        "ns1__外观和性状": "黑色、棕黑色的层状、粉末状、大颗粒状固体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 132,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__化学式量": 74.096,
                        "ns1__中文名": "氢氧化钙",
                        "ns2__comment": "CO2+CA(0H)2=CaCO3+H2O",
                        "ns1__俗称": "熟石灰、消石灰",
                        "ns1__化学式": "Ca(OH)₂",
                        "ns1__密度": "2.24 g/mL",
                        "ns1__水溶性": "微溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CaOH2",
                        "ns1__外观和性状": "白色粉末状固体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 29,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__用途": "用于陶瓷涂料和光学玻璃的辅料用于电子陶瓷、PTC热敏电阻、电容器等多种电子元器件的制造",
                        "ns1__化学式量": 197.34,
                        "ns1__中文名": "碳酸钡",
                        "ns1__化学式": "BaCO3",
                        "ns1__密度": 4.43,
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#BaCO3",
                        "ns1__外观和性状": "白色斜方结晶或粉末"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 94,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "漂白、造纸等",
                        "ns1__化学式量": 39.996,
                        "ns1__中文名": "氢氧化钠",
                        "ns1__俗称": "烧碱、火碱、苛性钠",
                        "ns1__化学式": "NaOH",
                        "ns1__密度": "2.130 g/cm³",
                        "ns1__水溶性": "极易溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#NaOH",
                        "ns1__外观和性状": "白色半透明片状或颗粒"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 101,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__盐"
                    ],
                    "properties": {
                        "ns1__化学式量": 100.09,
                        "ns1__中文名": "碳酸钙",
                        "ns1__俗称": "水垢;石灰石;石灰石粉;酪酸钙",
                        "ns1__化学式": "CaCO₃",
                        "ns1__密度": "2.93 g/mL",
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CaCO3",
                        "ns1__外观和性状": "白色固体"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 94,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__碱"
                    ],
                    "properties": {
                        "ns1__用途": "漂白、造纸等",
                        "ns1__化学式量": 39.996,
                        "ns1__中文名": "氢氧化钠",
                        "ns1__俗称": "烧碱、火碱、苛性钠",
                        "ns1__化学式": "NaOH",
                        "ns1__密度": "2.130 g/cm³",
                        "ns1__水溶性": "极易溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#NaOH",
                        "ns1__外观和性状": "白色半透明片状或颗粒"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        },
        {
            "keys": [
                "individual",
                "name"
            ],
            "length": 2,
            "_fields": [
                {
                    "identity": {
                        "low": 68,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__氧化物"
                    ],
                    "properties": {
                        "ns1__用途": "催化剂，电极活化材料",
                        "ns1__化学式量": 79.545,
                        "ns1__中文名": "氧化铜",
                        "ns1__俗称": "丝状氧化铜、线状氧化铜",
                        "ns1__化学式": "CuO",
                        "ns1__密度": "6.3～6.9 g/cm3",
                        "ns1__水溶性": "不溶于水",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#CuO",
                        "ns1__外观和性状": "无定形或结晶性黑色或棕黑色粉末"
                    }
                },
                {
                    "identity": {
                        "low": 32,
                        "high": 0
                    },
                    "labels": [
                        "Resource",
                        "ns0__NamedIndividual",
                        "ns1__酸"
                    ],
                    "properties": {
                        "ns1__用途": "提取精盐 酸洗钢材",
                        "ns1__化学式量": 36.5,
                        "ns1__中文名": "盐酸",
                        "ns1__俗称": "氢氯酸",
                        "ns1__化学式": "HCl",
                        "ns1__密度": "1.18g/cm³",
                        "ns1__水溶性": "混溶",
                        "uri": "http://www.semanticweb.org/administrator/ontologies/2019/4/untitled-ontology-20#HCl",
                        "ns1__外观和性状": "无色至淡黄色清澈液体"
                    }
                }
            ],
            "_fieldLookup": {
                "individual": 0,
                "name": 1
            }
        }
    ]
}

function dataTransform(raw_data) {

    let [nodes, links, data] = [[], [], []]
    // HCl 当前查找物质
    let searchObj = raw_data.records[0]['_fields'][1]['properties']
    searchObj.id = 0

    // 处理nodes=[{},{}...]
    nodes[0] = searchObj
    raw_data.records.forEach((element, index) => {
        let otherObj = element['_fields'][0]['properties']
        otherObj.id = index + 1
        nodes.push(otherObj)
    })

    // 处理links=[{},{}...]
    for (let i = 0, length = nodes.length; i < length - 1; i++) {
        let linkObj = {
            "source": 0,
            "label": "couple"
        }
        linkObj['target'] = i + 1
        links.push(linkObj)
    }

    data = { nodes, links }
    return data

}
console.log(dataTransform(json))







